OPC Studio User's Guide and Reference
DAPropertyIdSet Constructor(IEnumerable<DAPropertyId>)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.Extensions Namespace > DAPropertyIdSet Class > DAPropertyIdSet Constructor : DAPropertyIdSet Constructor(IEnumerable<DAPropertyId>)
The collection whose elements are copied to the new set.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, copying in OPC property IDs from another collection.
Syntax
'Declaration
 
Public Function New( _
   ByVal collection As IEnumerable(Of DAPropertyId) _
)
'Usage
 
Dim collection As IEnumerable(Of DAPropertyId)
 
Dim instance As New DAPropertyIdSet(collection)
public DAPropertyIdSet( 
   IEnumerable<DAPropertyId> collection
)
public:
DAPropertyIdSet( 
   IEnumerable<DAPropertyId^>^ collection
)

Parameters

collection
The collection whose elements are copied to the new set.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also